Construct for the given Kotlin class.
Construct for the given Java class — the Java-friendly constructor.